package com.designpatterns.abstractclass;

/**
 * Template Abstract Class
 *
 * @author Haiqi.Wang
 * @since 2013-7-1下午3:00:10
 */
public abstract class Template {

	public abstract void print();
	
	public void update() {
		System.out.println("开始打印");
		for (int i = 0; i < 10; i++) {
			print();
		}
	}
}
